package cn.wolfcode.cloud.shop.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@Setter
@Getter
public class User implements Serializable {

 private Long id;
 private String nickname;//昵称
 private String head;//头像
 @JsonIgnore
 private String password;//密码
 @JsonIgnore
 private String salt;//盐
 @JsonIgnore
 private Date registerDate;//注册时间
 @JsonIgnore
 private Date lastLoginDate;//最后登录时间
 @JsonIgnore
 private Integer loginCount;//登录次数
}
